/*
 * @Descripttion: crm更改后的样式
 * @version: V1.0
 * @Author: GW
 * @Date: 2021-08-16 11:48:26
 * @LastEditors: GW
 * @LastEditTime: 2022-05-31 09:23:05
 */
@import '~@/style/setting/btn.less';

.content-warpper-2 {
  border: 1px solid #ccc;
  margin: 90px 10px 0px 10px !important;
  height: calc(100vh - 110px) !important;

  .ant-table-tbody>tr>td {
    padding: 0px 6px !important;
  }
  
  .ant-table-wrapper {
    min-height: 420px;
  }

  .content-header-2 {
    padding: 0px !important;
    margin-bottom: 5px;

    .btn-wrapper {
      text-align: center;
      background: #fff;
      padding-top: 7px;
      //   border-bottom: 1px solid #a0a0a0;
      height: 48px;

      .btns {
        font-size: 12px;
        text-align: center;
        cursor: pointer;
        overflow: hidden;
      }

      .btns-ccc {
        color: #ccc;
      }

      .btns-text {
        margin-top: -2px;
        height: 20px;
        overflow: hidden;

        .anticon-down {
          color: rgb(24, 144, 255);
          vertical-align: middle;
        }
      }

      .btns-icon {
        font-size: 18px;
        color: rgb(24, 144, 255);
      }

      .btns-icon-ccc {
        color: #ccc;
      }

      .btns:hover {
        .btns-icon {
          color: rgb(45, 85, 216);
        }

        transition: all 0.2s;
      }

      .btns:active {
        animation: btns-transform 0.1s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
      }

      //按钮制灰
      .btns-disable {
        color: #7f7d7d;

        .btns-icon {
          color: #7f7d7d;
        }

        .btns:hover {
          .btns-icon {
            color: #7f7d7d;
          }
        }

        .btns-text {
          color: #7f7d7d;

          .anticon-down {
            color: #7f7d7d;
          }
        }
      }
    }
  }


  .search-btn-box-gw {
    display: flex;
    border-bottom: 1px solid #CCC;
    margin-top: 4px;
    // height: 40px;
    padding-left: 8px;
    width: 100%;

    .item-big {
      flex: 0 0 60px;
      font-size: 14px;
      text-align: center;
      color: #000;
      // font-weight: bold;
      line-height: 20px;
      cursor: pointer;

      .icon-searh {
        font-size: 19px;
        color: rgb(45, 144, 236);
      }
    }

    .item-small-down {
      width: 42px;
      height: 42px;
      line-height: 42px;
      text-align: center;
      cursor: pointer;
    }

    .item-small {
      width: calc(100% - 50px);
      height: 40px;

      ul {
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 0;
        clear: both;
      }

      ul>li {
        float: left;
        // border: 1px solid rgb(162, 187, 203);
        color: #333;
        height: 32px;
        line-height: 32px;
        padding: 0px 10px;
        font-size: 14px;
        // margin-right: 10px;
        max-width: 110px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-right: 5px;
        margin-top: 7px;
      }

      ul>li.active {
        background: #1E9FFF;
        color: #FFFFFF;
      }

      .icon-searh-btn {
        color: #1e9fff;
      }

      ul>li:hover {
        background: #1E9FFF;
        color: #FFFFFF;

        .icon-searh-btn {
          color: #FFFFFF;
        }
      }

      .item-plan {
        cursor: pointer;
      }
    }
  }
}

.btn-box {
  display: flex;

  .btn-item {
    flex: 1;
    width: 10%;
  }
}

.fa-heart-red {
  color: #ff4d4f;
}



.search-wrapper-box-crm {
  .ant-modal-close {
    z-index: 1;
  }

  .ant-modal-body {
    padding: 0 !important;
  }

  .content-box {
    display: flex;
    height: 450px;

    .left-box {
      padding: 5px 0;
      flex: 0 0 200px;
      height: 100%;
      border-right: 1px solid #ccc;

      .plan-list {
        height: calc(100% - 45px);
        overflow-y: auto;
      }

      .plan-list ul {
        margin: 0;
        padding: 0;
      }

      .plan-list ul>li {
        list-style: none;
        width: 100%;
        padding-left: 10px;
        line-height: 32px;
        border-bottom: 1px solid #ccc;
        cursor: pointer;

        &.active {
          background-color: #3788ff;
          color: #fff;
        }
      }

      .plan-list ul>li:hover {
        background-color: rgba(55, 136, 255, 0.2);
        color: #666;
      }

      .plan-list ul>li:last-child {
        border-bottom: none;
      }
    }

    .right-box {
      padding: 2px 0;
      flex: 1;
      height: 100%;
      overflow-y: auto;

      .condition {
        padding: 0 10px;
        margin-bottom: 10px;
        overflow-y: auto;

        .filter {
          display: table;
          margin-top: 10px;

          .filter-label {
            display: table-cell;
            font-weight: normal;
            max-width: 160px;
            white-space: nowrap;
            vertical-align: bottom;
            text-overflow: ellipsis;
            overflow: hidden;
          }

          .filter-control {
            display: table-cell;
            width: 100%;
          }

          .ant-select-selection--single {
            height: auto;
          }

          .ant-input-number {
            width: auto;
          }

          .ant-input,
          .ant-input-number,
          .ant-select-selection {
            border-radius: 0;
            border: none;
            border-bottom: 1px solid #ccc;
          }

          .ant-input-number,
          .ant-select-selection,
          .ant-calendar-picker,
          .ant-calendar-picker-input,
          .ant-input:focus {
            box-shadow: none;
          }

          .ant-input-number-handler-wrap {
            display: none;
          }
        }
      }

      .dynamic-table-design {
        padding: 0 10px;
      }
    }

    .btn-wrapper {
      text-align: center;
      background: #fff;
      padding-top: 7px;
      border-bottom: 1px solid #a0a0a0;
      height: 48px;

      .btns {
        font-size: 12px;
        text-align: center;
        cursor: pointer;
        overflow: hidden;
      }

      .btns-ccc {
        color: #ccc;
      }

      .btns-text {
        margin-top: -2px;
        height: 20px;
        overflow: hidden;

        .anticon-down {
          color: rgb(24, 144, 255);
          vertical-align: middle;
        }
      }

      .btns-icon {
        font-size: 18px;
        color: rgb(24, 144, 255);
      }

      .btns-icon-ccc {
        color: #ccc;
      }

      .btns:hover {
        .btns-icon {
          color: rgb(45, 85, 216);
        }

        transition: all 0.2s;
      }

      .btns:active {
        animation: btns-transform 0.1s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
      }

      //按钮制灰
      .btns-disable {
        color: #7f7d7d;

        .btns-icon {
          color: #7f7d7d;
        }

        .btns:hover {
          .btns-icon {
            color: #7f7d7d;
          }
        }

        .btns-text {
          color: #7f7d7d;

          .anticon-down {
            color: #7f7d7d;
          }
        }
      }
    }
  }



  .mask-archives {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 2;
  }

  .mask-archives-name {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 4;
  }
}

.add-or-edit-modal {
  .min-box {
    // margin-left: 100px;
    height: 500px;
    width: 400px;
  }

  .ant-modal {
    width: 600px !important;
  }

  .ant-modal-body:first-child {
    height: 520px !important;
    overflow-y: auto !important;
    padding-top: 40px !important;
  }

  .ant-select-sm,
  .ant-input-sm,
  .ant-input-number,
  .ant-input-number-input {
    height: 32px !important;
  }

  .ant-select-selection__rendered,
  .ant-select-selection-selected-value,
  .ant-select-selection {
    height: 32px;
    line-height: 32px;
  }

  .not-border-form {
    .ant-input {
      border: none;
    }
  }
}

.click-table-active {
    background: rgba(0, 160, 233, 0.1);
}
